[NET]: Rename feature-tso to feature-gso-tcpv4
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 3 Jul 2006 08:07:33 +0000 (09:07 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 3 Jul 2006 08:07:33 +0000 (09:07 +0100)
This patch renames the name feature-tso to feature-gso-tcpv4 for future
expansion.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c

index f5c75ef08af4b263a4847b247f1afb4d1aab3787..fd3d70459e55abc354443fd8f4ea40ee38da1b11 100644 (file)
@@ -102,9 +102,10 @@ static int netback_probe(struct xenbus_device *dev,
                }
 
 #if 0 /* KAF: After the protocol is finalised. */
-               err = xenbus_printf(xbt, dev->nodename, "feature-tso", "%d", 1);
+               err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4",
+                                   "%d", 1);
                if (err) {
-                       message = "writing feature-tso";
+                       message = "writing feature-gso-tcpv4";
                        goto abort_transaction;
                }
 #endif
index 016f4d1220be75ad0a2a416b8e61e284e5870dde..1f2096049a6d687d0858cd65b84d76f5251367a0 100644 (file)
@@ -1098,8 +1098,8 @@ static int xennet_set_tso(struct net_device *dev, u32 data)
                struct netfront_info *np = netdev_priv(dev);
                int val;
 
-               if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-tso",
-                                "%d", &val) < 0)
+               if (xenbus_scanf(XBT_NIL, np->xbdev->otherend,
+                                "feature-gso-tcpv4", "%d", &val) < 0)
                        val = 0;
 #if 0 /* KAF: After the protocol is finalised. */
                if (!val)